Skip to content

doc: transport negotiation & fallback ordering decision record (#5791) - #6234

Merged
dezren39 merged 1 commit into
mainfrom
queue/10554-5791-transport-negotiation
Nov 5, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/10554-5791-transport-negotiation

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes the design work in #5791 with a recorded decision.

Adds doc/2026-11-05T13-38-00Z_design_id5791_transport_negotiation.md:

  • Chosen shape: per-(peer, network) negotiation state machine within parent id: design: ID transport fallback for UDP-denied networks v1 #5671's fixed attempt order — sequential probing, remembered known-good transport given a single first attempt, no separate probe protocol.
  • Per-peer memory: last known-good + last failure class only, local-only, TTL decay, invalidation on advertisement change.
  • Overrides: pin / forbid / force-proxy with explicit precedence (CLI > env > per-peer config > global config > memory > parent order); pins disable fallback; overrides are reported, never silent.
  • Failure classification: nine classes (udp_blocked, peer_offline, proxy_auth_required, proxy_denied, policy_denied, tls_failure, auth_failure, timeout, transport_error) with per-class fall-through / stop / surface rules, per-network quarantine, and no silent downgrade on TLS/auth failures.
  • Eight invariants implementation must hold; section 8 explicitly checks that no id: design: ID transport fallback for UDP-denied networks v1 #5671 decision (attempt order, broker/trust, E2E boundary, rendezvous) is re-decided, and records the two parent open questions this record touches.
  • Alternatives rejected with reasons: parallel racing, no memory, peer-only memory, boolean failure, separate ping protocol, server-directed negotiation.

Docs-only change; no implementation (per #5791, implementation timing is a separate decision).

Queue: task 10554, lane code-h.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 5, 2026 13:42
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2073f2e2-1256-47a4-ac8d-b8e5732e8cde

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 6a9296c into main Nov 5, 2026
1 check passed
@dezren39
dezren39 deleted the queue/10554-5791-transport-negotiation branch November 5, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant